package cn.opopopo.design_pattern_learn.行为型.memento;

// 1. 备忘录类（Memento）：保存 Originator 的状态
class TextMemento {
    private final String content;

    public TextMemento(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }
}